
const install = (vm) => {
	return {
		selectRankingByAllGameScore:(params)=> vm.$u.post('/majiang/system/majiang/selectRankingByAllGameScore',params),
		selectRankingByWeek:(params)=> vm.$u.post('/majiang/system/majiang/selectRankingByWeek',params),
		selectRankingByYesterday:(params)=> vm.$u.post('/majiang/system/majiang/selectRankingByYesterday',params),
		getWechatOpenId:(params)=> vm.$u.get('/majiang/mini/getOpenId',params),
		wechatLogin:(params)=> vm.$u.post('/majiang/mini/login',params),
		getMyScore:(params)=> vm.$u.post('x',params)
	}
}

export default install